package com.java.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatConfig {
    private String appid;
    private String secret;
    private String token;
    private String encodingAESKey;
    private Api api;

    @Data
    public static class Api {
        private String accessTokenUrl;
        private String materialListUrl;
    }
} 